package com.xej.seat.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.apache.ibatis.type.Alias;

/**
 * 会场
 * @author JiKe
 */
@Alias("hall")
public class Hall implements Serializable {
	private static final long serialVersionUID = 7511909385772916278L;
	
	private String hallId;  //编号
	private String name; //名称
	private int tolRow; // 总行数
	private int tolCol; // 总列数
	private Date createTime; //创建时间
	private List<Seat> list; //座位信息
	private List<Customer> Customers; //参会人员
	
	public Hall() {
		super();
	}
	
	public Hall(String name, int tolRow, int tolCol) {
		super();
		this.name = name;
		this.tolRow = tolRow;
		this.tolCol = tolCol;
	}

	public String getHallId() {
		return hallId;
	}

	public void setHallId(String hallId) {
		this.hallId = hallId;
	}

	public int getTolRow() {
		return tolRow;
	}

	public void setTolRow(int tolRow) {
		this.tolRow = tolRow;
	}

	public int getTolCol() {
		return tolCol;
	}

	public void setTolCol(int tolCol) {
		this.tolCol = tolCol;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public List<Seat> getList() {
		return list;
	}

	public void setList(List<Seat> list) {
		this.list = list;
	}

	public List<Customer> getCustomers() {
		return Customers;
	}

	public void setCustomers(List<Customer> customers) {
		Customers = customers;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Hall [hallId=");
		builder.append(hallId);
		builder.append(", name=");
		builder.append(name);
		builder.append(", tolRow=");
		builder.append(tolRow);
		builder.append(", tolCol=");
		builder.append(tolCol);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", list=");
		builder.append(list);
		builder.append(", Customers=");
		builder.append(Customers);
		builder.append("]");
		return builder.toString();
	}
	
}
